#!/bin/bash
set -e;
source /etc/profile;
rm -f IPTV_update.sql;
wget --timeout=10 --tries=3  --no-check-certificate  https://github.moeyy.xyz/https://github.com/siruoren/IPTVN/Files/IPTV/IPTV_update.sql -O IPTV_update.sql;

mysql -uroot -pxxxxxx < IPTV_update.sql;

#curl https://gitee.com/team_space/mynet_info/raw/master/update_iptv_db.sh|bash;mysql -uroot -pxxx < IPTV_update.sql;